<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:bs="http://none.cz">
<head th:include="common/layout::header" ></head>
<body>
	<div th:substituteby="common/layout::menu"></div>
	
	<div class="container">
		<div th:include="common/layout::messages">
			cannot load messages
		</div>
		
		<form class="form-standard" method="post" action="#" th:action="@{/j_spring_security_check}">
			<fieldset>
				<legend th:text="#{login.h2}">Please sign in</legend>
				<div class="control-group">
					<label class="control-label" for="name" th:text="#{login.email}">j_username</label>
					<div class="controls">
						<input class="input-block-level" type="text" name="j_username" id="j_username"/>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="name" th:text="#{login.password}">j_password</label>
					<div class="controls">
						<input type="password" class="input-block-level" name="j_password" id="j_password"/>
					</div>
				</div>
				<div class="control-group">
					<div class="controls">
						<button class="btn btn-large btn-primary" type="submit">Sign in</button>
					</div>
				</div>
			</fieldset>
		</form>
	</div>

	<div th:include="common/layout::js"></div>
</body>
</html>